home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
tcltk.z
/
tcltk
/
man
/
cat3
/
Sleep.3
< prev
next >
Wrap
Text File
|
1994-09-20
|
1KB
|
67 lines
Tk_Sleep(3) Tk Library Procedures
_________________________________________________________________
NAME
Tk_Sleep - delay execution for a given number of mil-
liseconds
SYNOPSIS
#include <tk.h>
Tk_Sleep(_m_s)
ARGUMENTS
int_m_s(in)
Number of milliseconds to sleep.
_________________________________________________________________
DESCRIPTION
This procedure delays the calling process by the number of
milliseconds given by the _m_s parameter, and returns after
that time has elapsed. It is typically used for things like
flashing a button, where the delay is short and the applica-
tion needn't do anything while it waits. For longer delays
where the application needs to respond to other events dur-
ing the delay, the procedure Tk_CreateTimerHandler should be
used instead of Tk_Sleep.
KEYWORDS
sleep, time, wait
Tk 1